home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / 422mods.zip / KNNET2.422 < prev    next >
Text File  |  1993-02-20  |  2KB  |  39 lines

  1. Know the network your in!  (Look at me)
  2. Pretty Boy Floyd #2 @12455
  3. Wed Feb 17 01:29:29 1993
  4.  
  5.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  6.     MOD : KNNET2.MOD  -  Know Network v2
  7.  AUTHOR : Pretty Boy Floyd
  8.     BBS : Tech Know Byte (214) 724-8324
  9.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  10.  
  11.    I wrote this is make it easier for SysOp and Users of Multi-Networked
  12.    BBS to know what network they are in, weather it be WWIVnet, WWIVlink,
  13.    ICEnet, FIREnet, etc.  At the end of each message right about the 
  14.    READ prompt it will say "NETWORK : (and the network you are on)"
  15.  
  16.    -= Load MSGBASE1.C -=
  17.  
  18.    void scan                                                    /* search */
  19.    case 0:                                                      /* search */
  20.     nl();                                                          /* add */
  21.     npr("2Network : 3");                                         /* add */
  22.     for (i=0; i<xsubs[curlsub].num_nets; i++) {                    /* add */
  23.      if (i)                                                        /* add */
  24.        outstr(" ");                                                /* add */
  25.        outstr(net_networks[xsubs[curlsub].nets[i].net_num].name);  /* add */
  26.     }                                                              /* add */
  27.     outstr("\r");                                                  /* add */
  28.     sprintf(s,"%s:(1-%u,^%u), ? : ",get_string(678),nummsgs,msgnum); 
  29.     nl():
  30.  
  31.     The last two are orginal code
  32.  
  33.     Save and compile.  On all local subs it will print "Network : "
  34.  
  35.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  36.                       Copyright (c) 1993, Pretty Boy Floyd
  37.                      Copyright (c) 1993, Floyd Publishing Co
  38.  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  39.